# Contributor: Sertonix <sertonix@posteo.net>
# Maintainer: Sertonix <sertonix@posteo.net>
pkgname=arcticons-icon-theme
pkgver=8.2.0.1
pkgrel=0
pkgdesc="A monotone line-based icon pack for android - freedesktop version"
url="https://github.com/Donnnno/Arcticons-Linux"
arch="noarch"
license="GPL-3.0-or-later"
depends="$pkgname-light $pkgname-dark"
subpackages="$pkgname-light:theme $pkgname-dark:theme"
source="https://github.com/Donnnno/Arcticons-Linux/archive/$pkgver/arcticons-icon-theme-$pkgver.tar.gz"
builddir="$srcdir/Arcticons-Linux-$pkgver"
options="!check"

build() {
	:
}

package() {
	install -d "$pkgdir/usr/share/icons"
	cp -r arcticons-dark arcticons-light -t "$pkgdir/usr/share/icons"
}

theme() {
	depends=
	variant="${subpkgname##"$pkgname"-}"
	pkgdesc="$pkgdesc ($variant)"

	amove usr/share/icons/arcticons-"$variant"
}

sha512sums="
d4b1025f0b5e59c50c5ff4a4ef74f0277ee56a7e6d97ae76cd610958e5a49027b8e077e3bbe4fde2ff0b7a8eba7a01a63a3490b2652cd5802ea6abd90ff80205  arcticons-icon-theme-8.2.0.1.tar.gz
"
